/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.DIP.violateDIP.config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.principles.DIP.violateDIP.violateDIP.IviolateDIP;
import za.ac.cput.principles.DIP.violateDIP.violateDIP.impl.Lecturer;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppConfig
{
     @Bean(name = "DIP")
    public IviolateDIP IviolateDIP() 
    {
        return new Lecturer();
    }

    @Bean
    public IviolateDIP newDIP() 
    {
        return new Lecturer();
    }

    @Bean(name = "NDIP")
    public IviolateDIP Lecturer()
    {
        return new Lecturer();
    }
}
